c62861b44ea9dcfaa8025f7026bce4b516ab6f7a,clc/modules/msgs/src/main/java/com/eucalyptus/component/Component.java,Component,initRemoteService,#InetAddress#,289

Before Change


                                                                    this.getComponentId( ).getPort( ) );
      this.serviceRegistry.register( config );
      return config;
    } else if ( Bootstrap.isCloudController( ) && !Internets.testLocal( addr ) ) {
      ServiceConfiguration config = this.getBuilder( ).newInstance( this.getComponentId( ).getPartition( ), addr.getHostAddress( ), addr.getHostAddress( ),
                                                                    this.getComponentId( ).getPort( ) );
      this.serviceRegistry.register( config );

After Change


   * @throws ServiceRegistrationException
   */
  public ServiceConfiguration initRemoteService( InetAddress addr ) throws ServiceRegistrationException {
    if( Internets.testLocal( addr ) ) {
      throw new ServiceRegistrationException( "Skipping invalid attempt to init remote service configuration for host " + addr + " on component "
                                              + this.getName( ) );
    }